package com.itheima.arraydemo;

public class ArrayDemo3 {
    public static void main(String[] args) {
        int[] arr = {1,2,3,4};
        for (int i = 0; i < arr.length; i++) {
            System.out.print(i + "\t");
        }
    }
}
